home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10846 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: altair.herts.ac.uk!cs2ff
  2. From: Wayne Rowley <cs2ff@herts.ac.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: HELP!!! Splitting strings
  5. Date: Wed, 20 Mar 1996 09:43:31 +0000
  6. Organization: University of Hertfordshire
  7. Message-ID: <Pine.SUN.3.91.960320094032.5117A-100000@altair.herts.ac.uk>
  8. NNTP-Posting-Host: altair.herts.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11.  
  12.  
  13. Can anyone help me with this problem: I'm trying to split larger strings 
  14. into a number of smaller strings, for example:
  15.  
  16.  "thisisastring" to "this" "is" "a" "string"
  17.  
  18. I can't seem to get C to do it properly. I know that C is not a good 
  19. language for manipulating strings, and there doesn't seem to be anything 
  20. in string.h to help. Does anyone have any ideas?
  21.  
  22. Cheers, 
  23.  
  24.  
  25. Wayne
  26.  
  27. /******************************************************************\
  28. *                 ------< Wayne Rowley >------                   *       
  29. ********************************************************************
  30. *       ------<  EMail W.E.Rowley@herts.ac.uk >------           *
  31. \***\                                     /***/
  32.  
  33.  
  34.